JAVA NIO Socket通道 DatagramChannel和SocketChannel都實現定義讀寫功能,ServerSocketChannel不實現,只負責監聽傳入的連接,並建立新的SocketCha ...